package CTRLayer;

import java.util.ArrayList;
import DBLayer.DBChild;
import ModelLayer.Child;

public class ChildCTR
{
	public ArrayList<Child> findAllChilds()
    {
		DBChild dbChild = new DBChild();
        ArrayList<Child> allChilds = new ArrayList<Child>();
        allChilds = dbChild.getAllChilds(false);
        return allChilds;
    }
	
	public Child findChildID(int ChildID)
	{
		DBChild dbChild = new DBChild();
		return dbChild.searchChildID(ChildID, true);
	}
}